Skip to content

[codex] Add Reliability Governor runtime#27

Merged
Svaag merged 14 commits into
mainfrom
codex/reliability-governor-runtime
Jun 30, 2026
Merged

[codex] Add Reliability Governor runtime#27
Svaag merged 14 commits into
mainfrom
codex/reliability-governor-runtime

Conversation

@Svaag

@Svaag Svaag commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds the Reliability Governor as the Staff SRE control plane for autonomous operations. The implementation keeps production v1 timer-driven and deterministic, with GitHub labels as enforcement and the Engineering daemon consuming only loop:approved.

What changed

  • Adds Reliability Governor policy, decision records, capability registry loading, NOC LHP authority fetches, Knowledge context gating, and deterministic label transitions.
  • Adds the primary reliability-governor --once CLI command, keeping governor as a compatibility alias.
  • Adds production systemd unit/timer config plus production runtime docs.
  • Adds a transport-neutral ReliabilityGovernorWakeEvent contract for future callback-driven wake/reconcile behavior without choosing a durable transport yet.
  • Updates intake/daemon/docs language so loop:approved means Reliability-Governor-or-human-approved work.

Validation

  • uv run pytest tests/test_phase29_governor.py -q -> 9 passed
  • uv run mypy --strict src -> passed
  • git diff --cached --check -> passed
  • uv run pytest -q -> 205 passed

Rollout notes

Production rollout should start with a --dry-run pass on the dedicated loop VM using the real capability registry, Knowledge MCP, and NOC CaseService environment. Enable the timer only after the dry-run output is reviewed.

@Svaag Svaag force-pushed the codex/reliability-governor-runtime branch from 61b459f to 0a0813f Compare June 29, 2026 19:17
@Svaag Svaag marked this pull request as ready for review June 29, 2026 19:36

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0a0813f856

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/hyrule_engineering_loop/governor.py Outdated
Comment thread src/hyrule_engineering_loop/governor.py Outdated
Comment thread configs/loop/capability-registry.yml

Svaag commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e520106dec

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/hyrule_engineering_loop/governor.py
Comment thread configs/loop/hyrule-engineering-loop.service

Svaag commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

/review

Svaag commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

Svaag commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

/review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2267ef26b8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/hyrule_engineering_loop/governor.py
Comment thread configs/loop/hyrule-reliability-governor.service
Comment thread configs/loop/hyrule-engineering-loop.service
@Svaag Svaag force-pushed the codex/reliability-governor-runtime branch from 0809d7a to 8a079dd Compare June 29, 2026 20:54

Svaag commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

Svaag commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

/review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8a079dd9c4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/hyrule_engineering_loop/governor.py Outdated
Comment thread src/hyrule_engineering_loop/governor.py Outdated
Comment thread src/hyrule_engineering_loop/governor.py

Svaag commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

Svaag commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

/review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: cd22f1852f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread configs/loop/hyrule-engineering-loop.service
@Svaag

Svaag commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

@Svaag

Svaag commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

/review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2983e870d1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/hyrule_engineering_loop/daemon.py
Comment thread configs/loop/capability-registry.yml
@Svaag

Svaag commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

@Svaag

Svaag commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

/review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2a55b0cc96

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/hyrule_engineering_loop/governor.py
Comment thread src/hyrule_engineering_loop/daemon.py Outdated
@Svaag

Svaag commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: adcd80c4c7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/hyrule_engineering_loop/daemon.py Outdated
@Svaag

Svaag commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

@Svaag

Svaag commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

/review

@Svaag

Svaag commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

@Svaag

Svaag commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

/review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e2f6c212e1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/hyrule_engineering_loop/daemon.py
@Svaag

Svaag commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

@Svaag

Svaag commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

/review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 828fcd32a5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/hyrule_engineering_loop/governor.py Outdated
@Svaag

Svaag commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

/review

@Svaag

Svaag commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8e79b02255

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/hyrule_engineering_loop/governor.py Outdated
Comment thread src/hyrule_engineering_loop/governor.py
@Svaag

Svaag commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

@Svaag

Svaag commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

/review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5f87f49ee1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/hyrule_engineering_loop/governor.py Outdated
Comment thread src/hyrule_engineering_loop/daemon.py
@Svaag

Svaag commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

@Svaag

Svaag commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

/review

@Svaag

Svaag commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f59131d390

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/hyrule_engineering_loop/governor.py
@Svaag

Svaag commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

@Svaag

Svaag commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

/review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🚀

Reviewed commit: 161b9e8a7c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@Svaag Svaag merged commit f5915ab into main Jun 30, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant